from django.conf.urls import patterns, url

from polls import views

urlpatterns = patterns('',
	url(r'^$', views.IndexView.as_view(), name='index'),
	url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'),
	url(r'^(?P<pk>\d+)/results/$', views.ResultsView.as_view(), name='results'),
	url(r'^(?P<poll_id>\d+)/vote/$', views.vote, name='vote'),
	url(r'^fagomrader/$', views.fagomrader, name='fagomrader'),
	url(r'^frirettshjelp/$', views.frirettshjelp, name='frirettshjelp'),
	url(r'^priser/$', views.priser, name='priser'),
	url(r'^linker/$', views.linker, name='linker'),
	url(r'^kontakt/$', views.kontakt, name='kontakt'),
)